package org.linlinjava.litemall.admin.vo.locks;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/11 15:04
 */
public class ControlList {

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    private Integer storeId;

    private Integer  equipmentCode;

    private Integer commdityId;

    private Integer state;

    private ChainAddress address;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于1")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "每页条数不能小于0")
    private Integer limit;


    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public ChainAddress getAddress() {
        return address;
    }

    public void setAddress(ChainAddress address) {
        this.address = address;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(Integer equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public Integer getCommdityId() {
        return commdityId;
    }

    public void setCommdityId(Integer commdityId) {
        this.commdityId = commdityId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
